﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="odetail.aspx.cs" Inherits="BabyShop.CP.odetail" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="add-comment contact-form boxed line-left">
    <div class="comment-form">                            
        <div class="add-comment-title"><h3>Chi tiết đơn hàng</h3></div>
        <div class="form-inner">            
            <div class="field_text">
                <span class="btn btn-small">
                    <asp:LinkButton id="btn_cstatus" runat="server" Text="<span>Thay đổi trạng thái</span>"></asp:LinkButton>    
                </span>
                <div class="clear"></div>
                Trạng thái: <label id="lbOrderStatus" runat="server"><%=(order_status == 1)?"Hoàn thành":"Chưa hoàn thành"%></label>                                                
            </div>
            <div class="clear"></div>
            <div class="field_text">
                Mã đơn hàng: <label id="lbOrderId" runat="server"></label>
            </div>
            <div class="field_text">
                Tên khách hàng: <label id="lbFullname" runat="server"></label>
            </div>    
            <div class="clear"></div>            
            <div class="field_text">
                Tên người nhận: <label id="lbShippingName" runat="server"></label>
            </div>
            <div class="field_text">
                Địa chỉ nhận hàng: <label id="lbShippingAddress" runat="server"></label>
            </div>
            <div class="clear"></div>
            <div class="field_text">
                Diện thoại: <label id="lbShippingTel" runat="server"></label>
            </div>
            <div class="field_text">
                Ngày đặt hàng: <label id="lbCreated" runat="server"></label>
            </div>
            <div class="clear"></div>            
            <asp:GridView ID="GridView" runat="server" Height="50px" Width="125px"  
                AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" 
                GridLines="None" onrowcommand="GridView_RowCommand">
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                <Columns>
                    <asp:BoundField DataField="ID" HeaderText="Mã" />
                    <asp:BoundField DataField="name" HeaderText="Tên sản phẩm" />
                    <asp:BoundField DataField="quantity" HeaderText="Số lượng" />
                    <asp:BoundField DataField="price" HeaderText="Giá" />
                </Columns>                
                <EditRowStyle BackColor="#999999" />
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#E9E7E2" />
                <SortedAscendingHeaderStyle BackColor="#506C8C" />
                <SortedDescendingCellStyle BackColor="#FFFDF8" />
                <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
            </asp:GridView>
            Tổng cộng: <label id="lbTotal" runat="server"></label>
        </div>
    </div>
</div>                    
</asp:Content>
